package com.tsingteng.cosfun.ui.message.chat;

import com.tsingteng.cosfun.bean.ChatBean;
import com.tsingteng.cosfun.bean.PullBlackBean;
import com.tsingteng.cosfun.bean.UploadReportBean;
import com.tsingteng.cosfun.callback.RxObserver;

import retrofit2.Callback;

/**
 * 私信页面M层接口
 * 常胜
 * 2018.8.16
 * */
public interface IChatModel {

    void getOfficalNotification(String type, int page, int source, RxObserver<ChatBean> callback);

    void getPullBlackData(String user_id,RxObserver<UploadReportBean> callback);

    void getSendMessage(String mContent, long sid, RxObserver<Integer> rxObserver);

    void getChatRead(String type, int maxid, int sourceId, RxObserver<Integer> rxObserver);
    void getReadPullBlackStateInfo(int user_id, Callback<PullBlackBean> workCallback);
    void getCancelPullBlackInfo(long user_id, Callback<PullBlackBean> workCallback);

}
